﻿
@{
    ViewBag.Title = "主页";   
}

<div  >   
<div style=" height:10px;"></div>
 <div>
     <div style="width:1024px; ">
       <div id="divNewAlbums" style="height:160px;">@Html.Action("NewTopAlbums")</div>
       <div id="divTopAlbums" style="height:180px;">@Html.Action("TopAlbums")</div>
     
     <div >         
         <div style="float:left; width:512px;">
             <div class="divLabel">
                <div>新歌Top</div>
            </div>
             <div>
             @Html.Action("TopSongs", new { orderFlag="cratedate"})
             </div>
             </div>
         <div style="float:left; width:512px;">
              <div class="divLabel">
                <div>热门Top</div>
            </div>
             <div>
             @Html.Action("TopSongs", new { orderFlag="playcount"})
             </div>
             </div>
    </div> 
         <div style="height:20px; width:100%;clear:both;"></div>   
   </div>     
 </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $(".divMenu").removeClass("currentMenu");
        $("#divHomeIndex").addClass("currentMenu");      
        $("#btnSearch").click(function () {
            var s = $("#txtQText").val();
            window.location = "/Home/SearchResult/?s=" + s;
        });
    })
</script>


